package com.hwua.entity;

/**
 * @author CQY
 * 用户
 */
public class User {
    private int admin_id;
    private String admin_name;
    private String admin_pwd;
    private String admin_email;
    private String admin_phone;
    private String role;

    public User(int admin_id, String admin_name, String admin_pwd, String admin_email, String admin_phone, String role) {
        this.admin_id = admin_id;
        this.admin_name = admin_name;
        this.admin_pwd = admin_pwd;
        this.admin_email = admin_email;
        this.admin_phone = admin_phone;
        this.role = role;
    }

    public User() {
    }

    public int getAdmin_id() {
        return admin_id;
    }

    public void setAdmin_id(int admin_id) {
        this.admin_id = admin_id;
    }

    public String getAdmin_name() {
        return admin_name;
    }

    public void setAdmin_name(String admin_name) {
        this.admin_name = admin_name;
    }

    public String getAdmin_pwd() {
        return admin_pwd;
    }

    public void setAdmin_pwd(String admin_pwd) {
        this.admin_pwd = admin_pwd;
    }

    public String getAdmin_email() {
        return admin_email;
    }

    public void setAdmin_email(String admin_email) {
        this.admin_email = admin_email;
    }

    public String getAdmin_phone() {
        return admin_phone;
    }

    public void setAdmin_phone(String admin_phone) {
        this.admin_phone = admin_phone;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "User{" +
                "admin_id=" + admin_id +
                ", admin_name='" + admin_name + '\'' +
                ", admin_pwd='" + admin_pwd + '\'' +
                ", admin_email='" + admin_email + '\'' +
                ", admin_phone='" + admin_phone + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}
